<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:71:"D:\Code\matian\matian\application\admin\view\bootstrap\login\login.html";i:1496571071;}*/ ?>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>后台登录</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/font-awesome/css/font-awesome.css" rel="stylesheet">
    <!-- Toastr style -->
    <link href="/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name" style="height: 130px"></h1>

        </div>
        <h2 style="font-weight: bold;font-size:30px;padding-bottom: 10px">欢迎登录</h2>
        <p>

        </p>
        <form class="m-t" role="form" action="" method="post">
            <div class="form-group">
                <input type="text" class="form-control" name="username" placeholder="用户名" required="">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" name="password"  placeholder="密码" required="">
            </div>

            <div class="form-group">
                <div class="row">
                    <label class="col-sm-6 control-label">
                        <img src="<?php echo U('login/validcode'); ?>" class="full-width"
                             onclick="this.src='<?php echo U('login/validcode'); ?>?_='+(new Date()).getTime()"
                             style="border:1px solid #ddd"
                        />
                    </label>
                    <div class="col-sm-6" style="padding-top: 5px;">
                        <input type="password" name="validcode" class="form-control" placeholder="验证码" required="">
                    </div>
                </div>
            </div>

            <button type="submit" class="btn btn-primary block full-width m-b">登录</button>

            <!--<a href="#">-->
                <!--<small>Forgot password?</small>-->
            <!--</a>-->
            <!--<p class="text-muted text-center">-->
                <!--<small>Do not have an account?</small>-->
            <!--</p>-->
            <!--<a class="btn btn-sm btn-white btn-block" href="register.html">Create an account</a>-->
        </form>
        <p class="m-t">
            <small>&copy; 2017</small>
        </p>
    </div>
</div>

<!-- Mainly scripts -->
<script src="/js/jquery-2.1.1.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/plugins/toastr/toastr.min.js"></script>
<script>
    var error = '<?php echo $error; ?>';
    if (error) {
        toastr.error(error);
    }
</script>
</body>

</html>
